<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/

Route::get('/', function(){
    return view('welcome');
});

//手机验证码路由
Route::get('/Sendcode','Home\LoginController@SendCode');


//前台首页
Route::controller('/Home','Home\LoginController');
//验证码
Route::get('/Vcode','Home\LoginController@Vcode');
//前台历史订单
Route::controller('/Lishi','Home\LishiController');
//前台文章
Route::controller('/Wen','Home\WenController');
	


//后台登录
Route::get('/shou', function(){
    return view('Admin.user.login');
});
//后台用户管理
Route::controller('Admin/user','admin\UserController');
